package net.maku.kyy.service;


import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.kyy.entity.KyyUserGameEntity;
import net.maku.kyy.query.KyyUserGameQuery;
import net.maku.kyy.vo.KyyGameVO;
import net.maku.kyy.vo.KyyUserGameVO;

import java.util.List;

/**
 * 用户的游戏表
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
public interface KyyUserGameService extends BaseService<KyyUserGameEntity> {

    PageResult<KyyUserGameVO> page(KyyUserGameQuery query);

    KyyUserGameVO get(Long id);


    void save(KyyUserGameVO vo);

    void update(KyyUserGameVO vo);

    void delete(List<Long> idList);


    void export();

    /**
     * 获取我的游戏
     * @return
     */
    PageResult<KyyUserGameVO> getMyMap();

    /**
     * 获取我的游戏详细列表
     * @return
     */
    PageResult<KyyGameVO> getMyGamePage();
}